package com.sys.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sys.common.utils.PageUtils;
import com.sys.ware.entity.PurchaseEntity;
import com.sys.ware.vo.MergeVo;
import com.sys.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author yangjs
 * @email catalpa65@163.com
 * @date 2020-11-10 00:31:37
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //查询未合并的采购单
    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    //合并采购单
    void mergePurchase(MergeVo mergeVo);

    //领取采购单
    void received(List<Long> ids);

    //完成采购单
    void done(PurchaseDoneVo doneVo);
}
